package com.jindu.producer.finance.controller;

import com.jindu.kernel.result.JsonResult;
import io.swagger.annotations.Api;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author jarvis
 * @date 2018/2/21
 */
@Api(description = "公共的工具类", tags = "UtilsController", basePath = "/utils")
@RestController
@RequestMapping(value = "/utils",produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public class UtilsController {


    @RequestMapping(value = "401", method = RequestMethod.GET)
    public JsonResult<String> getTimeOut(){
        return JsonResult.getFailureResult();
    }


}
